Optimal. Leaf size=119 \[ -\frac {(b d-a e)^4}{9 e^5 (d+e x)^9}+\frac {b (b d-a e)^3}{2 e^5 (d+e x)^8}-\frac {6 b^2 (b d-a e)^2}{7 e^5 (d+e x)^7}+\frac {2 b^3 (b d-a e)}{3 e^5 (d+e x)^6}-\frac {b^4}{5 e^5 (d+e x)^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 45}
\begin {gather*} \frac {2 b^3 (b d-a e)}{3 e^5 (d+e x)^6}-\frac {6 b^2 (b d-a e)^2}{7 e^5 (d+e x)^7}+\frac {b (b d-a e)^3}{2 e^5 (d+e x)^8}-\frac {(b d-a e)^4}{9 e^5 (d+e x)^9}-\frac {b^4}{5 e^5 (d+e x)^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^2}{(d+e x)^{10}} \, dx &=\int \frac {(a+b x)^4}{(d+e x)^{10}} \, dx\\ &=\int \left (\frac {(-b d+a e)^4}{e^4 (d+e x)^{10}}-\frac {4 b (b d-a e)^3}{e^4 (d+e x)^9}+\frac {6 b^2 (b d-a e)^2}{e^4 (d+e x)^8}-\frac {4 b^3 (b d-a e)}{e^4 (d+e x)^7}+\frac {b^4}{e^4 (d+e x)^6}\right ) \, dx\\ &=-\frac {(b d-a e)^4}{9 e^5 (d+e x)^9}+\frac {b (b d-a e)^3}{2 e^5 (d+e x)^8}-\frac {6 b^2 (b d-a e)^2}{7 e^5 (d+e x)^7}+\frac {2 b^3 (b d-a e)}{3 e^5 (d+e x)^6}-\frac {b^4}{5 e^5 (d+e x)^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 144, normalized size = 1.21 \begin {gather*} -\frac {70 a^4 e^4+35 a^3 b e^3 (d+9 e x)+15 a^2 b^2 e^2 \left (d^2+9 d e x+36 e^2 x^2\right )+5 a b^3 e \left (d^3+9 d^2 e x+36 d e^2 x^2+84 e^3 x^3\right )+b^4 \left (d^4+9 d^3 e x+36 d^2 e^2 x^2+84 d e^3 x^3+126 e^4 x^4\right )}{630 e^5 (d+e x)^9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.64, size = 186, normalized size = 1.56
method | result | size |
risch | \(\frac {-\frac {b^{4} x^{4}}{5 e}-\frac {2 b^{3} \left (5 a e +b d \right ) x^{3}}{15 e^{2}}-\frac {2 b^{2} \left (15 a^{2} e^{2}+5 a b d e +b^{2} d^{2}\right ) x^{2}}{35 e^{3}}-\frac {b \left (35 e^{3} a^{3}+15 a^{2} b d \,e^{2}+5 a \,b^{2} d^{2} e +b^{3} d^{3}\right ) x}{70 e^{4}}-\frac {70 e^{4} a^{4}+35 a^{3} b d \,e^{3}+15 a^{2} b^{2} d^{2} e^{2}+5 a \,b^{3} d^{3} e +b^{4} d^{4}}{630 e^{5}}}{\left (e x +d \right )^{9}}\) | \(171\) |
gosper | \(-\frac {126 b^{4} x^{4} e^{4}+420 a \,b^{3} e^{4} x^{3}+84 b^{4} d \,e^{3} x^{3}+540 a^{2} b^{2} e^{4} x^{2}+180 a \,b^{3} d \,e^{3} x^{2}+36 b^{4} d^{2} e^{2} x^{2}+315 a^{3} b \,e^{4} x +135 a^{2} b^{2} d \,e^{3} x +45 a \,b^{3} d^{2} e^{2} x +9 b^{4} d^{3} e x +70 e^{4} a^{4}+35 a^{3} b d \,e^{3}+15 a^{2} b^{2} d^{2} e^{2}+5 a \,b^{3} d^{3} e +b^{4} d^{4}}{630 e^{5} \left (e x +d \right )^{9}}\) | \(185\) |
default | \(-\frac {b^{4}}{5 e^{5} \left (e x +d \right )^{5}}-\frac {6 b^{2} \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right )}{7 e^{5} \left (e x +d \right )^{7}}-\frac {2 b^{3} \left (a e -b d \right )}{3 e^{5} \left (e x +d \right )^{6}}-\frac {e^{4} a^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}}{9 e^{5} \left (e x +d \right )^{9}}-\frac {b \left (e^{3} a^{3}-3 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e -b^{3} d^{3}\right )}{2 e^{5} \left (e x +d \right )^{8}}\) | \(186\) |
norman | \(\frac {-\frac {b^{4} x^{4}}{5 e}-\frac {2 \left (5 a \,b^{3} e^{5}+b^{4} d \,e^{4}\right ) x^{3}}{15 e^{6}}-\frac {2 \left (15 a^{2} b^{2} e^{6}+5 a \,b^{3} d \,e^{5}+b^{4} d^{2} e^{4}\right ) x^{2}}{35 e^{7}}-\frac {\left (35 a^{3} b \,e^{7}+15 a^{2} b^{2} d \,e^{6}+5 a \,b^{3} d^{2} e^{5}+b^{4} d^{3} e^{4}\right ) x}{70 e^{8}}-\frac {70 a^{4} e^{8}+35 a^{3} b d \,e^{7}+15 a^{2} b^{2} d^{2} e^{6}+5 a \,b^{3} d^{3} e^{5}+b^{4} d^{4} e^{4}}{630 e^{9}}}{\left (e x +d \right )^{9}}\) | \(197\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 249 vs.
\(2 (113) = 226\).
time = 0.30, size = 249, normalized size = 2.09 \begin {gather*} -\frac {126 \, b^{4} x^{4} e^{4} + b^{4} d^{4} + 5 \, a b^{3} d^{3} e + 15 \, a^{2} b^{2} d^{2} e^{2} + 35 \, a^{3} b d e^{3} + 70 \, a^{4} e^{4} + 84 \, {\left (b^{4} d e^{3} + 5 \, a b^{3} e^{4}\right )} x^{3} + 36 \, {\left (b^{4} d^{2} e^{2} + 5 \, a b^{3} d e^{3} + 15 \, a^{2} b^{2} e^{4}\right )} x^{2} + 9 \, {\left (b^{4} d^{3} e + 5 \, a b^{3} d^{2} e^{2} + 15 \, a^{2} b^{2} d e^{3} + 35 \, a^{3} b e^{4}\right )} x}{630 \, {\left (x^{9} e^{14} + 9 \, d x^{8} e^{13} + 36 \, d^{2} x^{7} e^{12} + 84 \, d^{3} x^{6} e^{11} + 126 \, d^{4} x^{5} e^{10} + 126 \, d^{5} x^{4} e^{9} + 84 \, d^{6} x^{3} e^{8} + 36 \, d^{7} x^{2} e^{7} + 9 \, d^{8} x e^{6} + d^{9} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 244 vs.
\(2 (113) = 226\).
time = 2.53, size = 244, normalized size = 2.05 \begin {gather*} -\frac {b^{4} d^{4} + {\left (126 \, b^{4} x^{4} + 420 \, a b^{3} x^{3} + 540 \, a^{2} b^{2} x^{2} + 315 \, a^{3} b x + 70 \, a^{4}\right )} e^{4} + {\left (84 \, b^{4} d x^{3} + 180 \, a b^{3} d x^{2} + 135 \, a^{2} b^{2} d x + 35 \, a^{3} b d\right )} e^{3} + 3 \, {\left (12 \, b^{4} d^{2} x^{2} + 15 \, a b^{3} d^{2} x + 5 \, a^{2} b^{2} d^{2}\right )} e^{2} + {\left (9 \, b^{4} d^{3} x + 5 \, a b^{3} d^{3}\right )} e}{630 \, {\left (x^{9} e^{14} + 9 \, d x^{8} e^{13} + 36 \, d^{2} x^{7} e^{12} + 84 \, d^{3} x^{6} e^{11} + 126 \, d^{4} x^{5} e^{10} + 126 \, d^{5} x^{4} e^{9} + 84 \, d^{6} x^{3} e^{8} + 36 \, d^{7} x^{2} e^{7} + 9 \, d^{8} x e^{6} + d^{9} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.70, size = 174, normalized size = 1.46 \begin {gather*} -\frac {{\left (126 \, b^{4} x^{4} e^{4} + 84 \, b^{4} d x^{3} e^{3} + 36 \, b^{4} d^{2} x^{2} e^{2} + 9 \, b^{4} d^{3} x e + b^{4} d^{4} + 420 \, a b^{3} x^{3} e^{4} + 180 \, a b^{3} d x^{2} e^{3} + 45 \, a b^{3} d^{2} x e^{2} + 5 \, a b^{3} d^{3} e + 540 \, a^{2} b^{2} x^{2} e^{4} + 135 \, a^{2} b^{2} d x e^{3} + 15 \, a^{2} b^{2} d^{2} e^{2} + 315 \, a^{3} b x e^{4} + 35 \, a^{3} b d e^{3} + 70 \, a^{4} e^{4}\right )} e^{\left (-5\right )}}{630 \, {\left (x e + d\right )}^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.61, size = 259, normalized size = 2.18 \begin {gather*} -\frac {\frac {70\,a^4\,e^4+35\,a^3\,b\,d\,e^3+15\,a^2\,b^2\,d^2\,e^2+5\,a\,b^3\,d^3\,e+b^4\,d^4}{630\,e^5}+\frac {b^4\,x^4}{5\,e}+\frac {2\,b^3\,x^3\,\left (5\,a\,e+b\,d\right )}{15\,e^2}+\frac {b\,x\,\left (35\,a^3\,e^3+15\,a^2\,b\,d\,e^2+5\,a\,b^2\,d^2\,e+b^3\,d^3\right )}{70\,e^4}+\frac {2\,b^2\,x^2\,\left (15\,a^2\,e^2+5\,a\,b\,d\,e+b^2\,d^2\right )}{35\,e^3}}{d^9+9\,d^8\,e\,x+36\,d^7\,e^2\,x^2+84\,d^6\,e^3\,x^3+126\,d^5\,e^4\,x^4+126\,d^4\,e^5\,x^5+84\,d^3\,e^6\,x^6+36\,d^2\,e^7\,x^7+9\,d\,e^8\,x^8+e^9\,x^9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________